libxl: remove impossible check for backend != DISK_BACKEND_QDISK
authorIan Campbell <ian.campbell@citrix.com>
Fri, 8 Apr 2011 15:38:06 +0000 (16:38 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 Apr 2011 15:38:06 +0000 (16:38 +0100)
commit455e8b7f10e1837cc08655a2115a6f58ccb3aad0
tree94a8d10659bb86d4bce341e3d81671ceff23b1e2
parentd658d039cd1c92d2d87fe137919197fd1a8f6a23
libxl: remove impossible check for backend != DISK_BACKEND_QDISK

In this case we are already in the DISK_BACKEND_QDISK case of a switch
statement on the same variable.

It is possible that we fell through from the DISK_BACKEND_TAP case
(although I'm about to remove that in a subsequent patch), however in
that case we are explicitly falling back from blktap2 to qdisk so
DEVICE_QDISK is still the right answer.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c